#ifndef PLANETDELTASK_HH_
# define PLANETDELTASK_HH_
# include "GameMessage.hh"

/**
 * <game>
 *  <planet_del_task>
 *      <star_id>csillag azonosító</star_id>
 *      <planet_id>bolygó azonosító</planet_id>
 *      <task_idx>feladat száma</task_idx>
 *  </planet_del_task>
 * </game>
 */
class Network::PlanetDelTask: public GameMessage {
    public: static spPlanetDelTask construct(QDomElement const& message);

    public: u8 const starId;
    public: u8 const planetId;
    public: u8 const taskIdx;

    public: PlanetDelTask(u8 starId, u8 planetId, u8 taskIdx);

    public: virtual QDomDocument to_xml() const;

    public: virtual void process_on_server(XmlServerThread& thread);

};

#endif // ndef PLANETDELTASK_HH_
